package com.xiaohan.turtlesoup.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName message
 */
@TableName(value ="message")
@Data
@AllArgsConstructor
public class Message implements Serializable {
    private static final long serialVersionUID = -2539128742596816890L;
    /**
     * 房间id
     */
//    @TableId(type = IdType.AUTO)
    private Long roomid;

    /**
     * 用户输入的信息
     */
    private String usermsg;

    /**
     * ai回答的信息
     */
    private String aimsg;
}